import axios from "./axios";
import { getLocalStroage } from "@/utils/localStorage";

export function myEvent(pagesize, lasttime) {
  return axios({
    url: "/event",
    params: {
      pagesize,
      lasttime,
      cookie: getLocalStroage("cookie"),
    },
  });
}

export function myUserDetailFunc(uid) {
  return axios({
    url: "/user/detail",
    params: {
      uid,
    },
  });
}
